package newcommerce.data
{
	public class AbstractMediaData
	{
		protected var _id:Number;
		protected var _uri:String;
		protected var _title:String;
		protected var _duration:Number;
		protected var _tn:String;
		
		public function set id(id:Number):void
		{
			_id = id;
		}
		
		public function get id():Number
		{
			return _id;
		}		
		
		public function set uri(uri:String):void
		{
			_uri = uri;
		}
		
		public function get uri():String
		{
			return _uri;
		}
		
		public function set tn(tn:String):void
		{
			_tn = tn;
		}
		
		public function get tn():String
		{
			return _tn;
		}
		
		function AbstractMediaData(id:Number = -1, title:String = "", duration:Number = 0, uri:String = "", tn:String = "")
		{
			_id = id;
			_uri = uri;
			_title = title;
			_duration = duration;	
			_tn = tn;
		}
		
		public function set title(title:String):void
		{
			_title = title
		}
		
		public function get title():String
		{
			return _title;
		}
		
		public function set duration(duration:Number):void
		{
			_duration = duration;
		}
		
		public function get duration():Number
		{
			return _duration;
		}			
	}
}